<%@ Page language="c#" Codebehind="ForumPostEdit.aspx.cs" AutoEventWireup="True" Inherits="sow.EditForumPost" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Edit Forum Post</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	</HEAD>
	<body>
		<h2><FONT color="#006699">ForumPost Table</FONT></h2>
		<hr color="#006699" SIZE="10">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" style="WIDTH: 100%; HEIGHT: 33px" cellSpacing="1" cellPadding="1" width="819"
				border="0">
				<TR>
					<TD bgColor="#99cccc"><FONT color="#ffffff">&nbsp;Status:
							<asp:dropdownlist id="drpStatus" runat="server"></asp:dropdownlist>&nbsp;Type:
							<asp:dropdownlist id="drpType" runat="server"></asp:dropdownlist>&nbsp;User:
							<asp:dropdownlist id="drpUser" runat="server"></asp:dropdownlist>&nbsp;Partner:
							<asp:dropdownlist id="drpPartner" runat="server"></asp:dropdownlist></FONT></TD>
					<td align="right" bgColor="#99cccc"><asp:button id="btnSearch" runat="server" Text="Search" onclick="btnSearch_Click"></asp:button></td>
				</TR>
			</TABLE>
			<P></P>
			<asp:datagrid id="DataGrid1" runat="server" AllowSorting="True" AutoGenerateColumns="False" AllowPaging="True"
				BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3"
				PageSize="8">
				<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
				<ItemStyle ForeColor="#000066"></ItemStyle>
				<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
				<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
				<Columns>
					<asp:ButtonColumn Text="Delete" ButtonType="PushButton" HeaderText="Delete" CommandName="Delete"></asp:ButtonColumn>
					<asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update" HeaderText="Edit, Update, Cancel" CancelText="Cancel"
						EditText="Edit"></asp:EditCommandColumn>
					<asp:BoundColumn DataField="PostID" HeaderText="PostID"></asp:BoundColumn>
					<asp:BoundColumn DataField="Subject" HeaderText="Subject"></asp:BoundColumn>
					<asp:BoundColumn DataField="CreateDate" SortExpression="CreateDate" HeaderText="CreateDate"></asp:BoundColumn>
					<asp:BoundColumn DataField="Status" SortExpression="Status" HeaderText="Status"></asp:BoundColumn>
					<asp:BoundColumn DataField="Summary" HeaderText="Summary"></asp:BoundColumn>
					<asp:BoundColumn DataField="Type" SortExpression="Type" HeaderText="Type"></asp:BoundColumn>
					<asp:BoundColumn DataField="PartnerID" HeaderText="PartnerID"></asp:BoundColumn>
					<asp:BoundColumn DataField="OriginAuthor" HeaderText="OriginAuthor"></asp:BoundColumn>
					<asp:BoundColumn DataField="URL" HeaderText="URL"></asp:BoundColumn>
					<asp:BoundColumn DataField="CreateUser" HeaderText="RecommendBy"></asp:BoundColumn>
				</Columns>
				<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
			</asp:datagrid>
			<TABLE id="Table3" style="WIDTH: 100%; HEIGHT: 33px" cellSpacing="1" cellPadding="1" width="819"
				border="0">
				<TR>
					<TD bgColor="#99cccc">
						<P><FONT color="#ffffff">Subject:
								<asp:textbox id="txtSubject" runat="server" TextMode="MultiLine" Width="109px"></asp:textbox>&nbsp;Summary:
								<asp:textbox id="txtSummary" runat="server" TextMode="MultiLine" Width="109px"></asp:textbox>&nbsp;Body:
								<asp:textbox id="txtBody" runat="server" TextMode="MultiLine" Width="109"></asp:textbox>&nbsp;Status:
								<asp:dropdownlist id="lstStatus" runat="server" Width="67px"></asp:dropdownlist>&nbsp;</FONT></P>
						<P><FONT color="#ffffff">Type:
								<asp:textbox id="txtType" runat="server" Width="37px"></asp:textbox>&nbsp;</FONT><FONT color="#ffffff">Category:
								<asp:dropdownlist id="lstCategory" runat="server" Width="67px"></asp:dropdownlist>&nbsp;</FONT><FONT color="#ffffff">User:
								<asp:dropdownlist id="lstUser" runat="server" Width="67px"></asp:dropdownlist>&nbsp;</FONT><FONT color="#ffffff">Partner:
								<asp:dropdownlist id="lstPartner" runat="server" Width="67"></asp:dropdownlist>&nbsp;O_Author:&nbsp;
								<asp:textbox id="txtOriAuthor" runat="server" Width="73px"></asp:textbox>&nbsp;</FONT></P>
						<P><FONT color="#ffffff">URL:
								<asp:textbox id="txtURL" runat="server" Width="116px"></asp:textbox></FONT></P>
					</TD>
					<td align="right" bgColor="#99cccc"><asp:button id="btnAdd" runat="server" Text="Add Post" onclick="btnAdd_Click"></asp:button></td>
				</TR>
			</TABLE>
			<P><asp:label id="lblMessage" runat="server" Width="663px"></asp:label></P>
			<HR color="#006699" SIZE="10">
			<P></P>
		</form>
	</body>
</HTML>
